package service;

import java.sql.SQLException;
import java.util.List;

import model.UserModel;

public interface UserService {
	public UserModel login(UserModel userModel) throws Exception;
	List<UserModel> findByName(String username)throws SQLException;
	public UserModel modifyP(UserModel userModel,String oldpassword) throws Exception;
	public UserModel modifyM(UserModel userModel) throws Exception;
}
